package cn.com.dhc.danlu.activity.delivery.order.typefactory;

import android.view.View;

import cn.com.dhc.danlu.activity.delivery.order.bean.BaseHolderBean;
import cn.com.dhc.danlu.activity.delivery.order.bean.OrderFuncBean;
import cn.com.dhc.danlu.activity.delivery.order.bean.OrderStatusBean;
import cn.com.dhc.danlu.activity.delivery.order.delegate.IHolderDataCallback;
import cn.com.dhc.danlu.activity.delivery.order.viewholder.BaseViewHolder;

public interface IOrderTypeFactory extends ITypeFactory {
    int type(OrderStatusBean orderStatusBean);

    int type(BaseHolderBean orderDataBean);

    int type(OrderFuncBean orderFuncBean);

    BaseViewHolder createViewHolder(int type, View itemView, IHolderDataCallback callback);
}